package com.solomon.travel.common.service;

import java.util.List;

import com.solomon.travel.common.model.Page;
import com.solomon.travel.common.po.Announce;


public interface AnnounceService {
	int publish(Announce announce);
	int countByType(Integer type);
	List<Announce> listByType(String fromUser,Integer type,Page page);
	Announce getById(String announceId);
	int update(Announce announce);
	int delete(String announceId);
}
